import 'package:get/get.dart';
import 'package:learn_vpn/page/Channel.dart';

import 'state.dart';

class MainLogic extends GetxController {
  Channel channel = Channel();
  final MainState state = MainState();
  Future<void> stopService() async {
    print(await channel.stopService());
  }

  Future<void> startService() async {
    print(await channel.startService(
        networkId: "56374ac9a4440e6f", useCellularData: true));
  }
}
